﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DevToolBox.Cloud.Common
{
    public class RowEntity
    {
        private string tableName;
        private Dictionary<string, object> values;
        private Dictionary<string, DbType> attMetadata;

        public string GetTableName()
        {
            return tableName;
        }

        public Dictionary<string, object> GetValues()
        {
            return values;
        }

        public Dictionary<string, DbType> GetMetadata()
        {
            return attMetadata;
        }

        public RowEntity(string newTableName,
                         Dictionary<string, object> newValues, 
                         Dictionary<string, DbType> newAttMetaData)
        {
            tableName = newTableName;
            values = newValues;
            attMetadata = newAttMetaData;
        }
    }
}
